package com.message;

import com.constant.MessageType;
import lombok.Data;

@Data
public class GroupChatReqMessage extends DefaultMessage{

    private String groupName;

    private String content;

    @Override
    public int getMessageType() {
        return MessageType.GROUP_CHAT_REQUEST;
    }

    public GroupChatReqMessage() {
    }

    public GroupChatReqMessage(String groupName, String content) {
        this.groupName = groupName;
        this.content = content;
    }
}
